#include "MagicNumber.hpp"

namespace Eyer
{
    float MagicNumber::colour_matching_data[][3] = {
            { 0.002742, -0.00066577, 0.018052},
            { 0.0054765, -0.0012443, 0.036357},
            { 0.0096727, -0.0022245, 0.062402},
            { 0.017115, -0.0042803, 0.1175},
            { 0.02614, -0.0055954, 0.18551},
            { 0.037021,-0.010157,0.28857},
            { 0.045837,-0.014089,0.40887 },
            { 0.053023, -0.017832, 0.56178 },
            { 0.052523, -0.021708, 0.69983 },
            { 0.044169,-0.019982,0.79826 },
            { 0.033055,-0.016627,0.89167 },
            { 0.016352, -0.0082876, 0.95923},
            { 0, 0, 1},
            { -0.025906, 0.017249, 0.93271},
            { -0.057758,0.041259,0.82927 },
            { -0.094556,0.069343,0.78949 },
            { -0.13876, 0.11121, 0.66582 },
            { -0.17938, 0.15627, 0.60273 },
            { -0.22034, 0.20877, 0.45473 },
            { -0.24523, 0.25546, 0.32281 },
            { -0.26831, 0.30728, 0.22315 },
            { -0.28965, 0.38802, 0.1579 },
            { -0.29504, 0.49084, 0.1074 },
            { -0.29346, 0.62585, 0.069385}, // 24
            { -0.2402, 0.76114, 0.037247},
            { -0.15696, 0.90124, 0.014718 },
            { 0, 1, 0 },
            { 0.20837, 1.0526, -0.0069172 },
            { 0.43798, 1.0496, -0.01252 },
            { 0.70584, 1.0446, -0.014483 }, // 30
            { 1.0329, 0.99169, -0.014993 },
            { 1.3902, 0.89776, -0.014121 },
            { 1.8295, 0.80911, -0.012308 },
            { 2.2621, 0.65558, -0.010023 },
            { 2.6163, 0.50876, -0.0074838 },
            { 2.8493, 0.34943, -0.0051878 },
            { 2.8443, 0.21453, -0.0027094 },
            { 2.5878, 0.11043, -0.0019647 },
            { 2.1093, 0.04649, -0.00093607 },
            { 1.5293, 0.012886, -0.0003177 }, // 40
            { 1, 0, 0 },
            { 0.57234, -0.0026601, 0.00020024 },
            { 0.29165, -0.0021627, 0.00020195 },
            { 0.13867, -0.0012118, 0.000065419 },
            { 0.061785, -0.00058213, 0.000031541 },
            { 0.024531, -0.00022689, 0.00001423 },
            { 0.0099268, -0.00009081, 0.0000075899 },
            { 0.0038539, -0.000032577, 0.0000045185 } // 48
    };
}